package com.my.chapter16;

import java.util.Arrays;

public class practice20 {
    public static void main(String[] args) {
        int[][] table1 =
                {{1, 2, 3},
                        {4, 5},
                        {7, 8, 9, 10}};
        int[][] table2 =
                {{1, 2, 3},
                        {4, 5},
                        {7, 8, 9, 10}};
        int[][] table3 =
                {{1, 2},
                        {4, 5,6},
                        {7, 8, 9}};
        System.out.println(Arrays.deepEquals(table1,table2));
        System.out.println(Arrays.deepEquals(table1,table3));
        System.out.println(Arrays.deepEquals(table2,table3));
    }
}
